#include "MOL.hpp"
#include "json.hpp"

using namespace std;
using namespace Eigen;
using json = nlohmann::json;

json openfile()
{
    ifstream file("input.json");
    if (!file.is_open())
        cerr << "Failed to open file" << endl;
    json j;
    file >> j;
    file.close();
    return j;
}

enum method
{
    FTCS,
    leapfrog,
    Lax_Friedrichs,
    Lax_Wendorff,
    upwind,
    Beam_Warming
};

int main()
{
    MatrixXd A = MatrixXd::Identity(3, 3);
    cout << A.inverse() << endl;
    return 0;
}